package com.summer.safe.quartz.entity;

import com.summer.safe.base.BaseEntity;

/**
 * 任务调度日志 Entity
 *
 * @author lm
 * @date 2020-07-29 17:13:20
 */
public class QuartzLog extends BaseEntity<QuartzLog> {
    private static final long serialVersionUID = 1L;

    private QuartzJob quartzJob;
    /**
     *任务名称
     */
    private String jobName;

    /**
     *任务组名
     */
    private String jobGroup;

    /**
     *任务执行时调用的类
     */
    private String beanClass;

    /**
     *类的方法
     */
    private String methodName;

    /**
     *参数
     */
    private String params;

    /**
     *耗时
     */
    private String time;

    /**
     *执行状态（0正常 1失败）
     */
    private String status;

    /**
     *异常信息
     */
    private String exceptionInfo;

    public QuartzJob getQuartzJob() {
        return quartzJob;
    }

    public void setQuartzJob(QuartzJob quartzJob) {
        this.quartzJob = quartzJob;
    }

    public QuartzLog() {
        super();
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(String beanClass) {
        this.beanClass = beanClass;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getExceptionInfo() {
        return exceptionInfo;
    }

    public void setExceptionInfo(String exceptionInfo) {
        this.exceptionInfo = exceptionInfo;
    }


}
